Dual-task with variable-priority instructions